Skip to content

fix(sync): show the LAN address, keep Tailscale as an untested option - #785

Merged
DeepDiver1975 merged 1 commit into
mainfrom
fix/share-address-lan-only
Oct 27, 2026
Merged

DeepDiver1975 merged 1 commit into
mainfrom
fix/share-address-lan-only

Conversation

@DeepDiver1975

@DeepDiver1975 DeepDiver1975 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Tailscale was an early idea for the network path. It was never tested, and the command vehicle's own LAN is the setup Lagebuch is built for. This PR stops treating Tailscale as part of that setup and keeps it documented as a theoretical, untested option.

Behaviour. LocalNetwork.DisplayAddress() no longer prefers a Tailscale interface (tailscale*/ts*) or a 100.64.0.0/10 address. It shows the first private LAN IPv4 and falls back to loopback. The host still binds every interface, so a VPN address can still be dialled by hand. On a host with both, the share flyout used to show the Tailscale address and now shows the LAN one.

Docs.

  • README (Warum Lagebuch?, the feature table and Lagebuch im Vergleich): LAN only, because the claims should describe what is tested.
  • docs/datenschutz-und-sicherheit.md and SECURITY.md: the LAN is the setup, and in theory any network that reaches the host works, e.g. a VPN such as Tailscale, but that is untested.
  • Comments across Sync, AppLogic and the views say LAN instead of Tailscale. No string the UI shows changes.
  • CHANGELOG.md's historic mention stays, since released history is not edited.

Website. The README claims are mirrored on the website and change in the paired PR CodeForFire/codeforfire.github.io#19. The two should merge together.

Verification: make clean ci passes (all nine test assemblies, 0 warnings, 0 errors) and so does make format-check.

No screenshots: no visible text or layout changes; only XAML comments do.

Related: #784 (sync architecture doc) gets the same untested-option note.

🤖 Generated with Claude Code

Tailscale was an early idea for the network path; it was never tested
and the command vehicle's own LAN is the setup Lagebuch is built for.

- LocalNetwork.DisplayAddress no longer prefers a Tailscale interface or
  a 100.64.0.0/10 address; it shows the first private LAN IPv4, else
  loopback. The host still binds every interface, so a VPN address can
  still be dialled by hand.
- Comments across Sync, AppLogic and the views say LAN instead of
  Tailscale.
- README claims mention the LAN only; the privacy page and SECURITY.md
  name a VPN such as Tailscale as a theoretical, untested option.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Thomas Müller <[email protected]>
DeepDiver1975 added a commit to CodeForFire/codeforfire.github.io that referenced this pull request Oct 27, 2026
Sync runs over the command vehicle's own LAN; Tailscale was an early idea
and is not needed. Mirrors CodeForFire/lagebuch#785.

Signed-off-by: Thomas Müller <[email protected]>
@DeepDiver1975
DeepDiver1975 merged commit c094a2c into main Oct 27, 2026
13 of 14 checks passed
@DeepDiver1975
DeepDiver1975 deleted the fix/share-address-lan-only branch October 27, 2026 14:35
DeepDiver1975 added a commit to CodeForFire/codeforfire.github.io that referenced this pull request Oct 27, 2026
Sync runs over the command vehicle's own LAN; Tailscale was an early idea
and is not needed. Mirrors CodeForFire/lagebuch#785.

Signed-off-by: Thomas Müller <[email protected]>
DeepDiver1975 added a commit that referenced this pull request Nov 1, 2026
The changed-line mutation gate failed on #785: rewording the comment
inside the join prompt's object initializer put the initializer's `{}`
mutant on a changed line, and nothing in LageBuch.AppLogic.Tests noticed
the prompt losing its prefilled Host and PIN. Only the Sync.Hosting and
Acceptance suites covered it, and Stryker runs neither.

Signed-off-by: Thomas Müller <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant